<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <title>栏目列表</title>
    <meta charset="utf-8">
    <script src="http://static.qiyi.com/qui/0.8.0/js/qui.js"></script>
    <script charset="utf-8" type="text/javascript" src="js/qui_0.8.0/jquery.qui.suggest.js?v=2014122229711"></script>
    <link rel="stylesheet" href="http://static.qiyi.com/qui/0.8.0/css/themes/lego/theme.css">
    <link rel="stylesheet" href="./css/copyLego.css">
    <script type="text/javascript">
        document.write('<scri' + 'pt src="./js/recordCol.js?v=1" charset="utf-8" type="text/javascript"></s' + 'cript>');
    </script>
</head>
<style type="text/css">
    .qui-tip .qui-tip-inner {
        z-index: 1999;
        min-width: 150px;
        text-align: center
    }
    thead tr th {
        text-align: center
    }

</style>
<body class="skin-lego">
<header class="main-header">

</header>
<div class="main-wrapper">
    <div class="main-content" id="j-pjax-container">
        <div class="content-wrapper">
            <section class="content-header">
                <ol class="breadcrumb">
                    <li>收录系统</li>
                    <li class="active">栏目列表</li>
                </ol>
            </section>
            <section class="content">
                <div class="container-fluid">
                    <div id="j-view-container">
                        <form class="form-inline grid-query-form" id="query-record-library-form" role="queryForm">
                            <div class="form-container">
                                <div class="container-fluid">
                                    <div class="row">
                                        <div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
                                            <div class="form-group query-group">
                                                <label class="control-label">栏目名称</label>
                                                <input type="text" class="form-control" role="query-text"
                                                       name="LIKES_col.colName">
                                            </div>
                                        </div>
                                        <div class="col-lg-3 col-md-6  col-xs-12">
                                            <div class="form-group query-group">
                                                <label class="control-label">所属频道</label>
                                                <input type="text" class="form-control" role="query-text"
                                                       name="LIKES_col.channelName">
                                            </div>
                                        </div>
                                        <div class="col-lg-3 col-md-6 col-xs-12">
                                            <div class="form-group query-group">
                                                <label class="control-label">有无版权</label>
                                                <select class="form-control j-query-multiple j-query-ignore"
                                                        name="EQI_col.hasAuth" role="query-select">
                                                    <option value="">全部</option>
                                                    <option value="1">有</option>
                                                    <option value="0">无</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </form>
                        <form class="form-inline grid-query-form">
                            <div class="form-container">
                                <div class="container-fluid">
                                    <div class="row">
                                        <button type="button" name="query_btn" class="btn">搜索</button>
                                        <button type="button" name="open_new_dlg_btn" class="btn">新建</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                        <form class="form-inline grid-query-form">
                            <div class="form-container">
                                <div class="container-fluid">
                                    <table id="list">
                                        <tr>
                                            <td></td>
                                        </tr>
                                    </table>
                                    <div id="pager"></div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </section>
        </div>
    </div>
</div>
<form class="form-horizontal" role="addForm" style="display: none">
    <input type="text" name="edit_col_id" value="-1" style="display:none;">
    <div class="form-container j-form-components">
        <div class="container-fluid">
            <div class="form-group control-group">
                <label class="col-xs-2 control-label">栏目名称</label>
                <div class="col-xs-4 controls">
                    <input type="text" name="col_name" class="form-control" style="width:200px;">

                </div>

                <div class="col-xs-2 controls">
                    <button type="button" name="queryA" class="btn">查询</button>
                </div>
            </div>
            <div class="form-group control-group">
                <label class="col-xs-2 control-label">频道名称</label>
                <div class="col-xs-4 controls">
                    <input type="text" name="channel_name" class="form-control" style="width:200px;">
                </div>
            </div>
            <div class="form-group control-group">
                <label class="col-xs-2 control-label">素材分类</label>
                <div class="col-xs-4 controls">
                    <!--<input type="text" name="category_id" class="form-control" style="width:250px;">-->
                    <select class="form-control j-query-multiple j-query-ignore" name="category_id" role="query-select" style="width:200px;"></select>
                </div>
            </div>
            <div class="form-group control-group">
                <label class="col-xs-2 control-label">有无版权</label>
                <div class="col-xs-4 controls">
                    <select class="form-control " name="hasAuth" style="width: 120px">
                        <option value="1">有</option>
                        <option value="0">无</option>
                    </select>
                </div>
            </div>
            <div class="form-group control-group" style="display:none">
                <label class="col-xs-2 control-label">是否公开</label>
                <div class="col-xs-4 controls">
                    <select class="form-control " name="enable" style="width: 120px">
                        <option value="1">是</option>
                        <option value="0">否</option>
                    </select>
                </div>
            </div>
            <div class="form-group control-group">
                <label class="col-xs-2 control-label"></label>
                <div class="col-xs-8 form-inline">
                    <button type="button" name="add_col_btn" class="btn">新建</button>
                    <button type="button" name="edit_col_btn" class="btn">修改</button>
                    <button type="button" name="cancel_btn" class="btn">取消</button>
                </div>
            </div>
        </div>
    </div>
</form>

<form role="authForm" class="form-inline grid-query-form" style="display:none">
        <div class="form-container">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-sm-4">
                        <div class="form-group query-group">
                            <label class="control-label">版权片名</label>
                            <input type="text" class="form-control" role="query-text"
                                   name="pcrName">

                        </div>
                    </div>
                    <div class="col-xs-4">
                        <div class="form-group query-group">
                            <button type="button" name="queryAuth" class="btn">搜索</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    <div class="container-fluid">
            <table id="authList">
                <tr>
                </tr>
            </table>
            <div id="pagerAuth"></div>
    </div>
</form>

</body>
<script type="text/javascript">
    qrequire(['recordCol'], function () {
        Ancestor.Auth.getAuthData({url: "/epg/channel.html"}, function (rdata) {
            RecordCol.Action.runColList();
        })
    })
</script>
</html>